using System;
using System.Collections.Generic;
using System.Text;
using LngT.Interfaces.UserAccess;
using LngT.Interfaces.UserRoles;
using LngT.Core;
using LngT.Interfaces.DBUserRoles;

namespace LngT.User
    {
    class User
        {
        public User( string userName, string password, IUserRole privileges )
            {
            _userName = userName;
            _password = password;
            _privileges = privileges;
            }

        private string _userName;

        public string UserName
            {
            get
                {
                return _userName;
                }
            set
                {
                _userName = value;
                }
            }
        private string _password;

        public string Password
            {
            get
                {
                return _password;
                }
            set
                {
                _password = value;
                }
            }

        private IUserRole _privileges;

        public IUserRole Privileges
            {
            get
                {
                return _privileges;
                }
            set
                {
                _privileges = value;
                }
            }
        }
    }
